package com.example.StrategyPattern.annotation;


import com.example.StrategyPattern.enums.PayTypeEnum;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PayType {

    /**
     * 支付方式的值为PayTypeEnum枚举
     *
     * @return
     */
    PayTypeEnum value();
}
